package com.woniu.zsd.recycle.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 彭于晏
 * @since 2025年02月18日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("error_statistics")
public class ErrorStatistics implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "error_id", type = IdType.AUTO)
    private Integer errorId;

    @TableField("recycling_order_detail_id")
    private Integer recyclingOrderDetailId;

    @TableField("deviation_reason")
    private String deviationReason;

    @TableField("deviation_value")
    private BigDecimal deviationValue;

    @TableField("unit")
    private String unit;

    @TableField("created_at")
    private LocalDateTime createdAt;


}
